package org.barman.pojo;

import java.sql.Date;
import java.util.List;

public class User {

	private Integer id;
	private String username;
	private String password;
	private String email;
	private String firstName;
	private String lastName;
	private UserRole role;
	private List<Order> waiterOrders;
	private List<Order> barmanOrders;
	private Date created;
	private Date modified;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public UserRole getRole() {
		return role;
	}

	public void setRole(UserRole role) {
		this.role = role;
	}

	public List<Order> getWaiterOrders() {
		return waiterOrders;
	}

	public void setWaiterOrders(List<Order> waiterOrders) {
		this.waiterOrders = waiterOrders;
	}

	public List<Order> getBarmanOrders() {
		return barmanOrders;
	}

	public void setBarmanOrders(List<Order> barmanOrders) {
		this.barmanOrders = barmanOrders;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getModified() {
		return modified;
	}

	public void setModified(Date modified) {
		this.modified = modified;
	}
}
